<?php

//全局app方法
function app($abstract = null, array $parameters = [])
{
    if (is_null($abstract)) {
        return Illuminate\Container\Container::getInstance();
    }
    return Illuminate\Container\Container::getInstance()->make($abstract, $parameters);
}
